package com.yf.service;

import com.yf.bean.MessageBean;

import java.util.List;
import java.util.Map;

public interface MessageService {
    public int addMessage(MessageBean bean);
    public int getMsgNum(Integer receiver);
    public int getMsgNumUnRead(Integer receiver);
    public List<MessageBean> getMsgByUid(Map<String, Object> params);
    public boolean setMsgStatus(Integer id, Integer status);
}
